import tool from 'src/util/tool'
import util from '_util/index';

const state = {
  voErrors: {},
    mgroup: null,
  isinEditModal: false,
  isinOtherEdit: false,
  ttt: {
    uname: 'aaaron'
  },

};
const getters = {
  // vroles(state) {
  //   return state.validRole
  // },
}
const mutations = {
  set_mgroup(state, mgroup){
    state.mgroup = mgroup
  },
  setVoError(state, voErrors){
    state.voErrors = voErrors
  },
  setIsinEditModal(state, isinEditModal){
    state.isinEditModal = isinEditModal
  },
  setIsinOtherEdit(state, isinOtherEdit){
    state.isinOtherEdit = isinOtherEdit
  }
}
const actions = {
  // addPrice({commit}, num){
  //   commit('addPrice', num)
  // }
}

export default{
    namespaced: true,
  state,
  getters,
  actions,
  mutations
}
